package com.jk.vehicle.mini.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* 根据条件查询网点列表响应视图
*
* @author jiajiang
* @since 2021-06-25
*/
@Data
@ApiModel(value="NetworkSelectListVo", description="根据条件查询网点列表响应视图")
public class NetworkSelectListVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 网点id
    */
    @ApiModelProperty(value = "网点id", position = 1)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
    * 网点名称
    */
    @ApiModelProperty(value = "网点名称", position = 2)
    private String name;

    /**
     * 位置（经纬度）
     */
    @ApiModelProperty(value = "位置（经纬度）", position = 3)
    private String center;

    /**
     * 网点类型（0：销售，1：维修，2：销售和维修，3：货物仓库）
     */
    @ApiModelProperty(value = "网点类型（0：销售，1：维修，2：销售和维修，3：货物仓库）", position = 4)
    private Integer networkType;

    /**
     * 移动电话
     */
    @ApiModelProperty(value = "移动电话", position = 5)
    private String contactChinaMobile;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", position = 6)
    private String fullAddress;

    /**
     * 距离
     */
    @ApiModelProperty(value = "距离", position = 7)
    private Double distance;

}
